package com.hand.test02.mapper;

import com.hand.test02.domain.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * @author 马旭阳
 * @date2019/7/26
 */
@Mapper
public interface UserMapper {

    User queryUserById(@Param("id") Integer id);

    void insertUser(@Param("user") User user);

    void updateUser(@Param("user") User user);

    void deleteUser(@Param("id") Integer id);

}
